package com.ourway.entity.feishu.event;

import com.ourway.entity.feishu.robot.Sender;
import lombok.Data;

import java.io.Serializable;

/**
 * 飞书订阅事件
 *
 * @author lwh
 * @date 2021/11/27
 */
@Data
public class FeiShuEvent implements Serializable {

    private Sender sender;

    private FeiShuEventMessage message;

    private String app_id;

    private String tenant_key;

    private String type;

    private String approval_code;

    private String instance_code;

    private String status;

    private String operate_time;

    /**
     * 审批发起时间
     */
    private String start_time;

    /**
     * 审批结束时间
     */
    private String end_time;

    /**
     * 假期名称
     */
    private String leave_name;

    /**
     * 请假最小时长
     */
    private String leave_unit;

    /**
     * 请假开始时间
     */
    private String leave_start_time;

    /**
     * 请假结束时间
     */
    private String leave_end_time;

    /**
     * 请假事由
     */
    private String leave_reason;
}
